'use strict';
let mongoose = require('mongoose');

let schema = new mongoose.Schema({
    weChatUserId:{
        type: String,
        index: {
            unique: false
        }
    },
    name: String,
    idCard: String,//社会识别码
    province: String, //省
    city: String, //市
    area:String, //区
    contactsMan:String, //联系人
    contactsPhone: String, //联系人电话
    status: {
        type: Number,
        default: 0
    }
});

schema.statics = {
};

module.exports = schema;